package com.demo.fastjson;

import com.alibaba.fastjson.JSON;
import com.demo.sortcsv.domain.User;

public class FastJsonTest {
    public static void testPaser()
    {
        String json = "{\"id\":0,\"name\":\"小明\",\"age\":20,\"score\":99.9}";

        User user = JSON.parseObject(json, User.class);

        System.out.println();
    }

    public static void main(String[] args) {
        testPaser();
    }
}
